home *** CD-ROM | disk | FTP | other *** search
- * Human interaction script
- * This script simply tests the enable/disable feature
- * of the keyboard driver by asking the user to type
- * something at a prompt with a (supposedly) disabled
- * keyboard. If the disable is successful, the keyboard
- * re-enables after a timeout of 5 seconds.
- @thread interact.out
- @newalias kbd kbd.gra
- kbd set \
- $PROMPT="Try to type something" \
- $PAUSE=5
- kbd kbd_open
- @log "Disabling keyboard (interrupt)"
- kbd kbd_disable_i
- kbd pause
- kbd kbd_query_disabled
- kbd response
- kbd kbd_query_disabled
- kbd kbd_enable_i
- @log "Disabling keyboard (non-interrupt)"
- kbd kbd_disable
- kbd pause
- kbd kbd_query_disabled
- kbd response
- kbd kbd_query_disabled
- kbd kbd_enable
-